package com.qianyucc.blog.exception;

import com.qianyucc.blog.model.enums.*;

/**
 * @author lijing
 * @date 2019-10-20 16:05
 * @description 图片长传失败异常
 */
public class ImageUploadFailureException extends BaseException {
    public ImageUploadFailureException() {
        super(RespCode.IMAGE_UPLOAD_ERROR);
    }

    public ImageUploadFailureException(Exception e) {
        super(RespCode.IMAGE_UPLOAD_ERROR, e.getMessage());
    }
}
